create new object from generic c#

94

create new object from generic c# -

return (T)Activator.CreateInstance(typeof(T), new object[] { param });

Comments

Submit
0 Comments